package com.soul.gateway.props;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.cloud.context.config.annotation.RefreshScope;
import org.springframework.stereotype.Component;

import java.util.ArrayList;
import java.util.List;

/**
 * 路由配置
 * @author Shiws
 * @version 1.0
 * @date 2023/9/5 14:01
 */
@Component
@Data
@RefreshScope
@ConfigurationProperties("project.document")
public class RouteProperties {

    private final List<RouteResource> resources = new ArrayList<>();

}
